[id].vue 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799
  1. <template>
  2. <div>
  3. <!-- 页面头部 -->
  4. <HomePageHead></HomePageHead>
  5. <HomePageNavigation></HomePageNavigation>
  6. <!-- 商圈详情 -->
  7. <div class="topicInfoBox">
  8. <div class="inner">
  9. <!-- 详情头部 -->
  10. <div class="infoHead phone_none">
  11. <div class="left">
  12. <div class="userInfo left">
  13. <el-badge value="楼主" class="item" type="warning">
  14. <img v-if='dataInfo.avatar' :src="dataInfo.avatar" alt="">
  15. <img v-else src='http://img.bjzxtw.org.cn/master/bjzxtw/public/topic/Rectangle.png'
  16. alt="">
  17. </el-badge>
  18. <span>{{ dataInfo.nickname }}</span>
  19. </div>
  20. <div class="headContent left">
  21. <h2>{{ dataInfo.title }}</h2>
  22. <p v-show="dataInfo.group_name">
  23. 群聊:
  24. <span>{{ dataInfo.group_name }}</span>
  25. <button @click="joinGroup">加入群聊</button>
  26. </p>
  27. </div>
  28. </div>
  29. <div class="right">
  30. <div class="one">
  31. <span v-for="item in typeList" :key="index">
  32. <span v-if="dataInfo.type == item.value" class="one">{{ item.label }}</span>
  33. </span>
  34. </div>
  35. <p>{{ dataInfo.updated_at }}</p>
  36. </div>
  37. </div>
  38. <div class="pc_none">
  39. <h2 class="phone_h2">{{ dataInfo.title }}</h2>
  40. <div class="phone_box_1">
  41. <div class="phone_tag_box">
  42. <span v-for="item in typeList" :key="index">
  43. <span v-if="dataInfo.type == item.value" class="phone_tag_box_text">{{item.label}}</span>
  44. </span>
  45. </div>
  46. <span class="phone_time">{{ dataInfo.updated_at }}</span>
  47. </div>
  48. <div class="phone_box_2">
  49. <el-badge class="phone_img_box" type="warning">
  50. <img v-if='dataInfo.avatar' :src="dataInfo.avatar" alt="">
  51. <img v-else src='http://img.bjzxtw.org.cn/master/bjzxtw/public/topic/Rectangle.png' alt="">
  52. </el-badge>
  53. <span class="phone_name">
  54. {{ dataInfo.nickname }}
  55. </span>
  56. </div>
  57. <div class="phone_box_3" v-show="dataInfo.group_name">
  58. <div class="phone_group_label"> 群聊: </div>
  59. <span class="phone_group_name">
  60. {{ dataInfo.group_name }}
  61. </span>
  62. <button class="phone_group_btn" @click="joinGroup">加入群聊</button>
  63. </div>
  64. </div>
  65. <!-- 详情页 文本+图片 -->
  66. <div class="infoContent" v-show="dataInfo.content">
  67. <div v-html="dataInfo.content"></div>
  68. </div>
  69. <div class="infoContent1" v-show="!dataInfo.content">
  70. <img src="http://img.bjzxtw.org.cn/master/bjzxtw/public/topic/Document_empty.png" alt="">
  71. <span>可以看看大家的互动哦~</span>
  72. </div>
  73. <!-- 详情页评论 -->
  74. <div class="comment">
  75. <h3>评论</h3>
  76. <div class="commentList" v-for="item in replyList" v-show="page_total != 0">
  77. <div class="left">
  78. <img v-if='item.avatar' :src="item.avatar" alt="">
  79. <img v-else src='http://img.bjzxtw.org.cn/master/bjzxtw/public/topic/Rectangle.png' alt="">
  80. <span class="name">{{ item.nickname }} : </span>
  81. </div>
  82. <div class="center">
  83. <span class="context">{{ item.content }}</span>
  84. </div>
  85. <div class="right">
  86. <span class="time">{{ item.created_at }}</span>
  87. <!-- <span>回复</span> -->
  88. </div>
  89. </div>
  90. <div class="comment_empty" v-show="page_total == 0">
  91. <img src="../../public/topic/message_empty.png" alt="">
  92. <span>暂无评论</span>
  93. </div>
  94. </div>
  95. <!-- 分页 -->
  96. <div class="paginationBox" v-show="page_total != 0">
  97. <el-pagination background layout="prev, pager, next" :total="page_total" prev-text="上一页"
  98. next-text="下一页" :default-page-size="pageSize" @change="changePage" />
  99. </div>
  100. </div>
  101. </div>
  102. <div class="message">
  103. <div class="inner">
  104. <input v-model="content" placeholder="快来回复吧~" type="text" class="messageInput">
  105. <button class="btn" @click="addReply">确定</button>
  106. </div>
  107. </div>
  108. <!-- 页面底部 -->
  109. <HomeFoot1></HomeFoot1>
  110. </div>
  111. </template>
  112. <script setup>
  113. //1.引用模块 start ---------------------------------------->
  114. //使用ref和reactive动态变量
  115. import { ref, reactive, onMounted } from 'vue'
  116. import { useRoute } from 'vue-router';
  117. //使用官方ssr请求模块
  118. import { useNuxtApp, useFetch } from '#app'
  119. //使用element-plus组件
  120. import { ElPagination, ElBadge, ElInput, ElMessage, ElMessageBox } from 'element-plus';
  121. // axios请求
  122. const nuxtApp = useNuxtApp();
  123. const axios = nuxtApp.$axios;
  124. const { $webUrl, $CwebUrl, $BwebUrl } = useNuxtApp()
  125. //1.引用模块 end ---------------------------------------->
  126. // 定义响应式数据
  127. const seoData = ref({
  128. title: '商圈',
  129. description: '默认描述',
  130. keywords: '默认关键词',
  131. image: 'https://example.com/default-image.jpg'
  132. });
  133. // 在 onMounted 钩子中获取数据
  134. onMounted(() => {
  135. seoData.value.title = '商圈';
  136. seoData.value.description = '默认描述';
  137. seoData.value.keywords = '默认关键词';
  138. })
  139. //2.页面数据 start ---------------------------------------->
  140. const dataInfo = ref({})
  141. const groupId = useState("groupId", () => '')
  142. const replyList = useState("replyList", () => []) //评论列表
  143. //分页
  144. const page = ref(1)
  145. const pageSize = ref(5)
  146. let page_total = ref(0)
  147. const content = ref('')
  148. //2.页面数据 end ---------------------------------------->
  149. //3.获取商圈详情 start ---------------------------------------->
  150. const route = useRoute();
  151. const id = route.params.id; // 获取传递的 id 参数
  152. //页码发生改变
  153. const changePage = (val) => {
  154. console.log(val);
  155. page.value = val
  156. getTopicReply()
  157. }
  158. // 商圈信息
  159. const getTopicInfo = () => {
  160. let data = new FormData()
  161. data.append('id', id)
  162. axios.post('chat/getTopicInfo', data).then(res => {
  163. console.log('商圈信息', res);
  164. dataInfo.value = res.data
  165. groupId.value = res.data.group_id
  166. console.log(groupId.value);
  167. })
  168. }
  169. // 回复商圈 列表
  170. const getTopicReply = () => {
  171. let data = new FormData()
  172. data.append('id', id)
  173. data.append('page', page.value)
  174. data.append('page_size', pageSize.value)
  175. axios.post('chat/getTopicReply', data).then(res => {
  176. console.log('回复商圈列表 ', res);
  177. replyList.value = res.data.data
  178. // page_total.value = res.data.total
  179. page_total.value = res.data.total
  180. console.log("replyList", replyList);
  181. })
  182. }
  183. //5.获取分类和状态 start ---------------------------------------->
  184. const listData = useState("listData", () => [])//商圈列表
  185. const typeList = useState("typeList", () => [])//商圈分类
  186. const topicType = () => {
  187. axios.post('/chat/topicType').then(response => {
  188. console.log(111222333)
  189. console.log(response.data);
  190. // console.log(1);
  191. typeList.value = response.data;
  192. })
  193. }
  194. const topicStatus = () => {
  195. axios.post('chat/topicStatus').then(response => {
  196. console.log(response);
  197. })
  198. }
  199. onMounted(() => {
  200. getTopicInfo(); //商圈信息
  201. getTopicReply(); //回复商圈列表
  202. topicType();
  203. topicStatus();
  204. })
  205. //加入群聊
  206. const joinGroup = () => {
  207. ElMessageBox.confirm(
  208. '加入群聊后,页面跳转至后台群聊页面',
  209. '是否加入群聊?',
  210. {
  211. confirmButtonText: '是',
  212. cancelButtonText: '否',
  213. center: true,
  214. }
  215. ).then(() => {
  216. console.log('groupId.value', groupId.value);
  217. let data = new FormData()
  218. data.append('group_id', groupId.value)
  219. axios.post('chat/joinGroup', data).then(res => {
  220. console.log('加入群聊 ', res);
  221. if (res.code == 0 && res.message !== '已加入群') {
  222. ElMessage.error(res.message)
  223. } else if (res.code == 0 && res.message == '已加入群') {
  224. ElMessage({
  225. message: res.message,
  226. type: 'success',
  227. })
  228. setTimeout(() => {
  229. // window.open($BwebUrl + '/#/hall?userurl=' + $webUrl, '_blank');
  230. window.open($BwebUrl + '/#/businessDistrict?userurl=' + $webUrl, '_blank');
  231. //window.open('http://admindev.bjzxtw.org.cn/#/hall', '_blank');
  232. }, 1000)
  233. } else if (res.code == 200) {
  234. ElMessage({
  235. message: '加入成功',
  236. type: 'success',
  237. })
  238. setTimeout(() => {
  239. // window.open($BwebUrl + '/#/hall?userurl=' + $webUrl, '_blank');
  240. window.open($BwebUrl + '/#/businessDistrict?userurl=' + $webUrl, '_blank');
  241. //window.open('http://admindev.bjzxtw.org.cn/#/hall', '_blank');
  242. }, 1000)
  243. }
  244. })
  245. }).catch(() => {
  246. ElMessage({
  247. type: 'error',
  248. message: '已取消',
  249. })
  250. })
  251. }
  252. // 回复商圈
  253. const addReply = () => {
  254. let data = new FormData()
  255. data.append('id', id)
  256. data.append('content', content.value)
  257. axios.post('chat/addReply', data).then(res => {
  258. console.log('回复商圈 ', res);
  259. if (res.code == 0) {
  260. ElMessage.error(res.message)
  261. getTopicReply();
  262. } else if (res.code == 200) {
  263. ElMessage({
  264. message: '回复成功',
  265. type: 'success',
  266. })
  267. content.value = ''
  268. getTopicReply();
  269. }
  270. })
  271. }
  272. //3.获取商圈详情 end ---------------------------------------->
  273. //seo
  274. useSeoMeta({
  275. title: "商圈" + "_" + "三农资讯网_全国政务信息一体化应用平台",
  276. meta: [
  277. { name: 'description', content: "三农资讯网以服务于党和国家各级职能部门三农政务资讯发布及政务公开信息公示为基点,为全国县级以上各级党政机关及其职能部门配置各自公开独立网络发布平台。主要频道有:三农政务资讯,农科资讯,农资购销,农产购销,农贸资讯,三农致富信息,农村文化生活,三农政策法规,三农之窗,三农调查,三农服务,三农知识,农民工,打假维权等。三农资讯网打造最具影响力的三农信息发布平台,并成为最具权威的三农资讯网。_三农资讯网-测试专用_全国政务信息一体化应用平台", tagPriority: 10 },
  278. { name: 'keywords', content: "三农资讯,农业,三农,三农在线,农业新闻,三农资讯网_三农资讯网-测试专用_全国政务信息一体化应用平台", tagPriority: 10 },
  279. { name: 'viewport', content: 'width=device-width,initial-scale=1,user-scalable=no' }
  280. ]
  281. });
  282. </script>
  283. <style lang="less" scoped>
  284. .topicInfoBox {
  285. .inner {
  286. width: 1200px;
  287. margin: 0 auto;
  288. //信息头部
  289. .infoHead {
  290. height: 200px;
  291. padding: 65px 0 60px 40px;
  292. border-bottom: 1px solid rgba(0, 0, 0, 0.10);
  293. box-sizing: border-box;
  294. >.left {
  295. .userInfo {
  296. margin-right: 90px;
  297. .item {
  298. margin-top: -5px;
  299. margin-right: -5px;
  300. :deep(.el-badge__content.is-fixed) {
  301. position: absolute;
  302. right: calc(1px + var(--el-badge-size) / 2);
  303. top: 0;
  304. transform: translateY(-31%) translateX(79%);
  305. z-index: var(--el-index-normal);
  306. }
  307. img {
  308. width: 66px;
  309. height: 66px;
  310. vertical-align: middle;
  311. border-radius: 50%;
  312. }
  313. }
  314. span {
  315. margin-left: 15px;
  316. font-family: Microsoft YaHei, Microsoft YaHei;
  317. font-weight: 400;
  318. font-size: 18px;
  319. color: #333333;
  320. }
  321. }
  322. .headContent {
  323. h2 {
  324. width: 750px;
  325. height: 56px;
  326. line-height: 28px;
  327. display: -webkit-box;
  328. -webkit-box-orient: vertical;
  329. -webkit-line-clamp: 2;
  330. overflow: hidden;
  331. text-overflow: ellipsis;
  332. word-break: break-all;
  333. font-family: Microsoft YaHei, Microsoft YaHei;
  334. font-weight: bold;
  335. font-size: 20px;
  336. color: #333333;
  337. margin-bottom: 26px;
  338. }
  339. >p {
  340. font-family: Microsoft YaHei, Microsoft YaHei;
  341. font-weight: 400;
  342. font-size: 16px;
  343. color: #333333;
  344. button {
  345. width: 86px;
  346. height: 32px;
  347. background-color: #028e21;
  348. color: #fff;
  349. border: none;
  350. margin-left: 100px;
  351. }
  352. }
  353. }
  354. }
  355. >.right {
  356. position: relative;
  357. div {
  358. position: absolute;
  359. right: 0;
  360. top: 0;
  361. width: 71px;
  362. height: 32px;
  363. line-height: 32px;
  364. text-align: center;
  365. background-color: #d9f0d6;
  366. margin-bottom: 29px;
  367. font-family: Microsoft YaHei, Microsoft YaHei;
  368. font-weight: 400;
  369. font-size: 16px;
  370. color: #33B023;
  371. }
  372. .one {
  373. color: #FFAA33;
  374. background-color: #fbebd5;
  375. }
  376. .two {
  377. color: #33B023;
  378. background-color: #d5ecd2;
  379. }
  380. .three {
  381. color: #666;
  382. background-color: #ebebeb;
  383. }
  384. p {
  385. width: 150px;
  386. text-align: right;
  387. position: absolute;
  388. top: 62px;
  389. right: 0;
  390. }
  391. }
  392. }
  393. // 有详情信息
  394. .infoContent {
  395. width: 1196px;
  396. overflow: hidden;
  397. padding: 30px 46px;
  398. font-family: Microsoft YaHei, Microsoft YaHei;
  399. font-size: 20px;
  400. line-height: 40px;
  401. box-sizing: border-box;
  402. div {
  403. word-wrap: break-word;
  404. /* 强制长单词或 URL 换行 */
  405. overflow-wrap: break-word;
  406. /* 现代推荐用法,等同于 word-wrap */
  407. white-space: pre-wrap;
  408. /* 保留空白字符并允许自动换行 */
  409. word-break: break-all;
  410. /* 强制在任意字符处换行 */
  411. }
  412. }
  413. .leftBottom::v-deep p {
  414. width: 1200px;
  415. white-space: pre-wrap;
  416. }
  417. //没有详情信息
  418. .comment_empty,
  419. .infoContent1 {
  420. height: 300px;
  421. line-height: 260px;
  422. text-align: center;
  423. img {
  424. width: 78px;
  425. height: 78px;
  426. vertical-align: -25px;
  427. vertical-align: middle;
  428. margin-right: 20px;
  429. }
  430. span {
  431. font-family: Microsoft YaHei, Microsoft YaHei;
  432. font-weight: bold;
  433. font-size: 26px;
  434. color: #CCCCCC;
  435. }
  436. }
  437. //评论
  438. .comment {
  439. h3 {
  440. height: 100px;
  441. padding-top: 30px;
  442. box-sizing: border-box;
  443. border-bottom: 1px solid #E1E1E1;
  444. font-family: Microsoft YaHei, Microsoft YaHei;
  445. font-weight: 400;
  446. font-size: 22px;
  447. color: #000000;
  448. }
  449. .commentList {
  450. border: 1px solid #E1E1E1;
  451. background-color: #fafafa;
  452. margin-top: 20px;
  453. padding: 30px 30px;
  454. box-sizing: border-box;
  455. display: flex;
  456. align-items: flex-start;
  457. justify-content: space-between;
  458. .left {
  459. width: 400px;
  460. margin-right: 30px;
  461. display: flex;
  462. justify-content: space-between;
  463. img {
  464. width: 52px;
  465. height: 52px;
  466. border-radius: 50%;
  467. vertical-align: middle;
  468. margin-right: 15px;
  469. }
  470. span {
  471. height: 52px;
  472. line-height: 22px;
  473. padding-top: 10px;
  474. }
  475. .name {
  476. width: 120px;
  477. font-family: Microsoft YaHei, Microsoft YaHei;
  478. font-weight: 400;
  479. font-size: 16px;
  480. color: #333333;
  481. margin-right: 15px;
  482. white-space: nowrap;
  483. overflow: hidden;
  484. text-overflow: ellipsis;
  485. display: block;
  486. }
  487. }
  488. .center {
  489. .context {
  490. width: 700px;
  491. margin-right: 40px;
  492. display: -webkit-box;
  493. -webkit-box-orient: vertical;
  494. -webkit-line-clamp: 2;
  495. overflow: hidden;
  496. text-overflow: ellipsis;
  497. word-break: break-all;
  498. font-family: Microsoft YaHei, Microsoft YaHei;
  499. font-weight: bold;
  500. font-size: 16px;
  501. color: #333333;
  502. }
  503. }
  504. .right {
  505. .time {
  506. display: block;
  507. width: 200px;
  508. font-family: Microsoft YaHei, Microsoft YaHei;
  509. font-weight: 400;
  510. font-size: 16px;
  511. color: #999999;
  512. margin-right: 30px;
  513. }
  514. span {
  515. font-family: Microsoft YaHei, Microsoft YaHei;
  516. font-weight: 400;
  517. font-size: 16px;
  518. color: #333333;
  519. }
  520. }
  521. }
  522. }
  523. }
  524. }
  525. //评论回复
  526. .message {
  527. width: 1200px;
  528. margin: 0 auto 20px;
  529. padding: 0px 25px;
  530. box-sizing: border-box;
  531. height: 145px;
  532. line-height: 145px;
  533. background-color: #ecf5ee;
  534. .inner {
  535. .messageInput {
  536. width: 1000px;
  537. height: 67px;
  538. outline: none;
  539. border: 1px solid #E1E1E1;
  540. background-color: #fafafa;
  541. font-family: Microsoft YaHei, Microsoft YaHei;
  542. font-weight: 400;
  543. font-size: 18px;
  544. color: #666;
  545. padding: 0 20px;
  546. box-sizing: border-box;
  547. }
  548. .btn {
  549. width: 115px;
  550. height: 40px;
  551. border: none;
  552. background-color: #028e21;
  553. color: #fff;
  554. border-radius: 6px;
  555. margin-left: 36px;
  556. font-family: Microsoft YaHei, Microsoft YaHei;
  557. font-weight: 400;
  558. font-size: 16px;
  559. }
  560. }
  561. }
  562. //分页
  563. .paginationBox {
  564. display: flex;
  565. justify-content: center;
  566. margin-top: 60px;
  567. margin-bottom: 90px;
  568. // 鼠标移入后字体颜色
  569. :deep(.el-pagination:hover) {
  570. color: #139609;
  571. }
  572. :deep(.el-pagination.is-background .btn-next),
  573. :deep(.el-pagination.is-background .btn-prev) {
  574. width: 70px;
  575. height: 34px;
  576. margin: 0px 10px;
  577. border-radius: 4px;
  578. }
  579. :deep(.el-pagination.is-background .el-pager li) {
  580. margin: 0px 10px;
  581. width: 38px;
  582. height: 34px;
  583. border-radius: 4px;
  584. }
  585. :deep(.el-pagination.is-background .btn-next.is-active),
  586. :deep(.el-pagination.is-background .btn-prev.is-active),
  587. :deep(.el-pagination.is-background .el-pager li.is-active) {
  588. background-color: #028e21;
  589. color: #fff;
  590. }
  591. }
  592. </style>
  593. <style lang="less" scoped>
  594. @media screen and (min-width:801px){/*pc*/
  595. .pc_none{display:none;}
  596. }
  597. @media screen and (max-width:800px){/*ipad_phone*/
  598. .topicInfoBox .inner{width:92%;margin:0px auto;}
  599. .phone_h2{margin-top:11px;
  600. font-size:20px;line-height:22px;display:block;color:#333;
  601. }
  602. .phone_box_1{overflow:hidden;width:100%;padding-bottom:2px;border-bottom:solid 1px #E8E7E6;
  603. margin-top:8px;line-height:22px;min-height:22px;}
  604. .phone_tag_box{ height:22px;float:left;}
  605. .phone_tag_box_text {float:left;height:22px;line-height:22px; font-size:12px;margin-right:8px;
  606. color:#999;}
  607. .phone_time{height:22px;line-height:22px;color:#999;float:left;font-size:12px;float:left;padding-left:10px;position:relative;}
  608. .phone_time::before{content:'';position:absolute;left:0;top:50%;width:2px;height:2px;background:#999;}
  609. .phone_box_2{overflow:hidden;margin:10px 0;padding:4px 0; display:flex;}
  610. .phone_img_box{ height:38px;width:38px;border-radius:50%; margin-right:6px;}
  611. .phone_img_box img{display:block;height:100%;width:100%;border-radius:50%;}
  612. .phone_name{ display:block; line-height:38px;height:38px;color:#333;font-size:16px;flex: 1;
  613. word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;}
  614. .phone_box_3{overflow:hidden;margin-top:10px; background:#ccc;background:rgba(204,204,204,.2);
  615. padding:10px 0px;
  616. display:flex; justify-content: space-between;
  617. }
  618. .phone_group_label{ height:33px;line-height:33px;color:#333;font-size:14px;margin-left:8px;float:left;}
  619. .phone_group_btn{float:right;height:28px;line-height:28px;background:rgba(2,142,33,.1);font-size:12px;
  620. color:#028e21;padding:0px 6px;text-align:center;border:0;
  621. margin:3px 8px 0 11vw;}
  622. .phone_group_name{ display:block;line-height:33px;height:33px;color:#333;font-size:14px;
  623. flex: 1;
  624. word-wrap: break-word;
  625. overflow-wrap: break-word;
  626. white-space: pre-wrap;
  627. word-break: break-all;
  628. }
  629. .topicInfoBox .inner .infoContent{width:100%;padding:0; margin-top:22px;}
  630. .topicInfoBox .inner .infoContent,.topicInfoBox .inner .infoContent *{font-size:16px;line-height:22px;}
  631. .topicInfoBox .inner .comment h3{height:50px;font-size:18px;line-height:50px;padding:0;margin-top:20px; }
  632. .ul_2{ margin-top:10px;}
  633. .li_2{
  634. overflow:hidden;
  635. width:100%;margin-bottom:10px;border:solid 1px #e7e7e7;box-sizing:border-box;
  636. .li_2_head_box{background:#fafafa;padding:10px 10px;width:100%;box-sizing:border-box;
  637. border-bottom:solid 1px #e7e7e7;}
  638. .li_2_img_box{width:33px;height:33px;overflow:hidden;margin-right:8px;border-radius:50%;float:left;}
  639. .li_2_img_box img{display:block;height:100%;width:100%; }
  640. .li_2_head{line-height:33px;height:33px;color:#333;font-size:16px;
  641. word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
  642. }
  643. .li_2_text{margin-top:8px;line-height:22px;color:#333;font-size:16px;overflow:hidden;
  644. box-sizing:border-box;padding:0px 10px;width:100%; word-wrap: break-word;
  645. overflow-wrap: break-word;
  646. white-space: pre-wrap;
  647. word-break: break-all;
  648. }
  649. .li_2_time{margin:8px 0px;line-height:22px;height:22px;color:#555;font-size:14px;padding:0px 10px;width:100%;}
  650. }
  651. .paginationBox{margin:30px auto;}
  652. .message{width:100%;text-align:center;height:auto;padding:33px 0px;line-height:normal;}
  653. .message .inner{width:92%; margin:0px auto;}
  654. .message .inner .messageInput{ width:100%;line-height:33px;height:33px;padding:0px 8px;font-size:14px;border-radius:6px;}
  655. .message .inner .btn{ line-height:33px;height:33px;width:auto;margin-left:2vw;padding:0px 6px;font-size:14px;display:none;}
  656. .ul_2_phone_none{display:none!important;}
  657. .phone_none{display:none;}
  658. }
  659. </style>